package com.itheima.service.impl;

import com.itheima.dao.book;
import com.itheima.service.bookservice;
import org.springframework.stereotype.Component;

@Component
public class bookserviceimpl implements bookservice {
    private book book;

    public void setBook(com.itheima.dao.book book) {
        this.book = book;
    }

    public void save() {
        System.out.println("bookservice ...");
        book.save();
    }
}
